<%--
  Created by IntelliJ IDEA.
  User: zhazha
  Date: 2021/9/11
  Time: 18:13
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>错误</title>
    <script type="text/javascript">
        var s = 5;
        function jump(){
            s--;
            if(s==0){
                window.location.href = "index.jsp";
            }
            document.getElementById("sec").innerHTML = s;
        }
        setInterval('jump()',1000);
    </script>
</head>
<body>
<div align="center">
    <img src="images/err.jpg"><br>
    发生错误<span id="sec">5</span>秒后跳转到<a href="index.jsp">首页</a>
</div>

</body>
</html>
